From 3ed729a0eec6c0e792e05a9b0629559dcff682b0 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Fri, 22 Nov 2024 15:28:16 +0100 Subject: [PATCH] Make duneproject aware that opm-models is merged with opm-simulators Last-Update: 2024-11-18 This is needed to kepp autopkgtests from testing working. Can safely be removed laters Last-Update: 2024-11-18 Gbp-Pq: Name duneproject-simulators-is-alias-for-models --- bin/duneproject | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/duneproject b/bin/duneproject index eb07398..d8419db 100755 --- a/bin/duneproject +++ b/bin/duneproject @@ -224,6 +224,9 @@ while [ "$DATACORRECT" != "y" -a "$DATACORRECT" != "Y" ]; do read -p " Enter space-separated list: " DEPENDENCIES done set +e + if ! $(echo "$MODULES" | grep opm-models &> /dev/null); then + DEPENDENCIES="$(echo "$DEPENDENCIES" | sed "s/opm-models/opm-simulators/g")" + fi modulesexist "$DEPENDENCIES" "$MODULES" DEPOK=$? set -e -- 2.30.2